package fr.vincent7894.feedroid;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.Menu;
import fr.vincent7894.feedroid.feed.manager.FeedProviderManager;
import fr.vincent7894.feedroid.feed.manager.factory.ManagerFactory;
import fr.vincent7894.feedroid.feed.manager.factory.impl.ManagerFactoryImpl;

public class MainActivity extends Activity {
	
	private Handler handler = new Handler() {
		
		public void handleMessage(Message msg) {
			
		}
	};
	
	private FeedProviderManager feedProviderManager;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		ManagerFactory managerFactory = new ManagerFactoryImpl();
		this.feedProviderManager = managerFactory.newFeedProviderManager();
	}
	
	@Override
	protected void onResume() {
		super.onResume();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
}
